import React from 'react'
import type { FC } from 'react'

interface FooterProps {
  year?: number
  slogan?: string
}

const Footer: FC<FooterProps> = ({ 
  year = new Date().getFullYear(), 
  slogan = '分享好物，分享生活' 
}) => {
  return (
    <footer className="bg-dark text-white py-8 mt-12">
      <div className="container mx-auto px-4 text-center">
        <p className="mb-2">清单集合 © {year}</p>
        <p className="text-gray-400 text-sm">{slogan}</p>
      </div>
    </footer>
  )
}

export default Footer